package com.net.xpay.common.manager.sync;

import com.net.common.manager.DomainManager;
import com.net.xpay.common.domain.sync.CommonChargeRecord;
import com.net.xpay.core.model.ChargeRecordSearchModel;

import java.time.LocalDateTime;
import java.util.List;


public interface CommonChargeRecordManager extends DomainManager<Long,CommonChargeRecord> {
    List<CommonChargeRecord> search(ChargeRecordSearchModel searchModel);

    long searchCount(ChargeRecordSearchModel searchModel);

    long sumSuccessAmount(Long userId, LocalDateTime endMinTime,LocalDateTime endMaxTime);

    List<CommonChargeRecord> list(ChargeRecordSearchModel searchModel);
}
